!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):(e=e||self).styled=t(e.React)}(this,function(e){"use strict";var t="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",r="active",n="data-styled-version",o="6.1.8",s="/*!sc*/\n",a="undefined"!=typeof window&&"HTMLElement"in window,i=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),c={},u=function(){return u=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},u.apply(this,arguments)};function l(e,t,r){if(r||2===arguments.length)for(var n,o=0,s=t.length;o<s;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}var f=Object.freeze([]),p=Object.freeze({});function h(e,t){Object.defineProperty(e,"toString",{value:t})}function d(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var m=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)if((o<<=1)<0)throw d(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var s=n;s<o;s++)this.groupSizes[s]=0}for(var a=this.indexOfGroup(e+1),i=(s=0,t.length);s<i;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var o=r;o<n;o++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,a=n;a<o;a++)t+="".concat(this.tag.getRule(a)).concat(s);return t},e}(),v=new Map,g=new Map,y=1,S=function(e){if(v.has(e))return v.get(e);for(;g.has(y);)y++;var t=y++;return v.set(e,t),g.set(t,e),t},b=function(e,t){y=t+1,v.set(e,t),g.set(t,e)},w="style[".concat(t,"][").concat(n,'="').concat(o,'"]'),C=new RegExp("^".concat(t,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),I=function(e,t,r){for(var n,o=r.split(","),s=0,a=o.length;s<a;s++)(n=o[s])&&e.registerName(t,n)},P=function(e,t){for(var r,n=(null!==(r=t.textContent)&&void 0!==r?r:"").split(s),o=[],a=0,i=n.length;a<i;a++){var c=n[a].trim();if(c){var u=c.match(C);if(u){var l=0|parseInt(u[1],10),f=u[2];0!==l&&(b(f,l),I(e,f,u[3]),e.getTag().insertRules(l,o)),o.length=0}else o.push(c)}}};function x(){return"undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var A=function(e){var s=document.head,a=e||s,i=document.createElement("style"),c=function(e){var r=Array.from(e.querySelectorAll("style[".concat(t,"]")));return r[r.length-1]}(a),u=void 0!==c?c.nextSibling:null;i.setAttribute(t,r),i.setAttribute(n,o);var l=x();return l&&i.setAttribute("nonce",l),a.insertBefore(i,u),i},_=function(){function e(e){this.element=A(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var o=t[r];if(o.ownerNode===e)return o}throw d(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),E=function(){function e(e){this.element=A(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),$=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),k=a,R={isServer:!a,useCSSOMInjection:!i},O=function(){function e(e,n,o){void 0===e&&(e=p),void 0===n&&(n={});var i=this;this.options=u(u({},R),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&a&&k&&(k=!1,function(e){for(var n=document.querySelectorAll(w),o=0,s=n.length;o<s;o++){var a=n[o];a&&a.getAttribute(t)!==r&&(P(e,a),a.parentNode&&a.parentNode.removeChild(a))}}(this)),h(this,function(){return function(e){for(var r=e.getTag(),n=r.length,o="",a=function(n){var a=function(e){return g.get(e)}(n);if(void 0===a)return"continue";var i=e.names.get(a),c=r.getGroup(n);if(void 0===i||0===c.length)return"continue";var u="".concat(t,".g").concat(n,'[id="').concat(a,'"]'),l="";void 0!==i&&i.forEach(function(e){e.length>0&&(l+="".concat(e,","))}),o+="".concat(c).concat(u,'{content:"').concat(l,'"}').concat(s)},i=0;i<n;i++)a(i);return o}(i)})}return e.registerId=function(e){return S(e)},e.prototype.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(u(u({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,r=e.target;return e.isServer?new $(r):t?new _(r):new E(r)}(this.options),new m(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(S(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},e.prototype.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(S(e),r)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(S(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),N="-ms-",j="-moz-",T="-webkit-",D="comm",F="rule",z="decl",G="@import",M="@keyframes",B="@layer",L=Math.abs,W=String.fromCharCode,Y=Object.assign;function H(e){return e.trim()}function q(e,t){return(e=t.exec(e))?e[0]:e}function V(e,t,r){return e.replace(t,r)}function U(e,t,r){return e.indexOf(t,r)}function J(e,t){return 0|e.charCodeAt(t)}function Z(e,t,r){return e.slice(t,r)}function K(e){return e.length}function Q(e){return e.length}function X(e,t){return t.push(e),e}function ee(e,t){return e.filter(function(e){return!q(e,t)})}var te=1,re=1,ne=0,oe=0,se=0,ae="";function ie(e,t,r,n,o,s,a,i){return{value:e,root:t,parent:r,type:n,props:o,children:s,line:te,column:re,length:a,return:"",siblings:i}}function ce(e,t){return Y(ie("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ue(e){for(;e.root;)e=ce(e.root,{children:[e]});X(e,e.siblings)}function le(){return se=oe<ne?J(ae,oe++):0,re++,10===se&&(re=1,te++),se}function fe(){return J(ae,oe)}function pe(){return oe}function he(e,t){return Z(ae,e,t)}function de(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function me(e){return H(he(oe-1,ye(91===e?e+2:40===e?e+1:e)))}function ve(e){for(;(se=fe())&&se<33;)le();return de(e)>2||de(se)>3?"":" "}function ge(e,t){for(;--t&&le()&&!(se<48||se>102||se>57&&se<65||se>70&&se<97););return he(e,pe()+(t<6&&32==fe()&&32==le()))}function ye(e){for(;le();)switch(se){case e:return oe;case 34:case 39:34!==e&&39!==e&&ye(se);break;case 40:41===e&&ye(e);break;case 92:le()}return oe}function Se(e,t){for(;le()&&e+se!==57&&(e+se!==84||47!==fe()););return"/*"+he(t,oe-1)+"*"+W(47===e?e:le())}function be(e){for(;!de(fe());)le();return he(e,oe)}function we(e){return function(e){return ae="",e}(Ce("",null,null,null,[""],e=function(e){return te=re=1,ne=K(ae=e),oe=0,[]}(e),0,[0],e))}function Ce(e,t,r,n,o,s,a,i,c){for(var u=0,l=0,f=a,p=0,h=0,d=0,m=1,v=1,g=1,y=0,S="",b=o,w=s,C=n,I=S;v;)switch(d=y,y=le()){case 40:if(108!=d&&58==J(I,f-1)){-1!=U(I+=V(me(y),"&","&\f"),"&\f",L(u?i[u-1]:0))&&(g=-1);break}case 34:case 39:case 91:I+=me(y);break;case 9:case 10:case 13:case 32:I+=ve(d);break;case 92:I+=ge(pe()-1,7);continue;case 47:switch(fe()){case 42:case 47:X(Pe(Se(le(),pe()),t,r,c),c);break;default:I+="/"}break;case 123*m:i[u++]=K(I)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+l:-1==g&&(I=V(I,/\f/g,"")),h>0&&K(I)-f&&X(h>32?xe(I+";",n,r,f-1,c):xe(V(I," ","")+";",n,r,f-2,c),c);break;case 59:I+=";";default:if(X(C=Ie(I,t,r,u,l,o,i,S,b=[],w=[],f,s),s),123===y)if(0===l)Ce(I,t,C,C,b,s,f,i,w);else switch(99===p&&110===J(I,3)?100:p){case 100:case 108:case 109:case 115:Ce(e,C,C,n&&X(Ie(e,C,C,0,0,o,i,S,o,b=[],f,w),w),o,w,f,i,n?b:w);break;default:Ce(I,C,C,C,[""],w,0,i,w)}}u=l=h=0,m=g=1,S=I="",f=a;break;case 58:f=1+K(I),h=d;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==(se=oe>0?J(ae,--oe):0,re--,10===se&&(re=1,te--),se))continue;switch(I+=W(y),y*m){case 38:g=l>0?1:(I+="\f",-1);break;case 44:i[u++]=(K(I)-1)*g,g=1;break;case 64:45===fe()&&(I+=me(le())),p=fe(),l=f=K(S=I+=be(pe())),y++;break;case 45:45===d&&2==K(I)&&(m=0)}}return s}function Ie(e,t,r,n,o,s,a,i,c,u,l,f){for(var p=o-1,h=0===o?s:[""],d=Q(h),m=0,v=0,g=0;m<n;++m)for(var y=0,S=Z(e,p+1,p=L(v=a[m])),b=e;y<d;++y)(b=H(v>0?h[y]+" "+S:V(S,/&\f/g,h[y])))&&(c[g++]=b);return ie(e,t,r,0===o?F:i,c,u,l,f)}function Pe(e,t,r,n){return ie(e,t,r,D,W(se),Z(e,2,-2),0,n)}function xe(e,t,r,n,o){return ie(e,t,r,z,Z(e,0,n),Z(e,n+1,-1),n,o)}function Ae(e,t,r){switch(function(e,t){return 45^J(e,0)?(((t<<2^J(e,0))<<2^J(e,1))<<2^J(e,2))<<2^J(e,3):0}(e,t)){case 5103:return T+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return T+e+e;case 4789:return j+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return T+e+j+e+N+e+e;case 5936:switch(J(e,t+11)){case 114:return T+e+N+V(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return T+e+N+V(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return T+e+N+V(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return T+e+N+e+e;case 6165:return T+e+N+"flex-"+e+e;case 5187:return T+e+V(e,/(\w+).+(:[^]+)/,T+"box-$1$2"+N+"flex-$1$2")+e;case 5443:return T+e+N+"flex-item-"+V(e,/flex-|-self/g,"")+(q(e,/flex-|baseline/)?"":N+"grid-row-"+V(e,/flex-|-self/g,""))+e;case 4675:return T+e+N+"flex-line-pack"+V(e,/align-content|flex-|-self/g,"")+e;case 5548:return T+e+N+V(e,"shrink","negative")+e;case 5292:return T+e+N+V(e,"basis","preferred-size")+e;case 6060:return T+"box-"+V(e,"-grow","")+T+e+N+V(e,"grow","positive")+e;case 4554:return T+V(e,/([^-])(transform)/g,"$1"+T+"$2")+e;case 6187:return V(V(V(e,/(zoom-|grab)/,T+"$1"),/(image-set)/,T+"$1"),e,"")+e;case 5495:case 3959:return V(e,/(image-set\([^]*)/,T+"$1$`$1");case 4968:return V(V(e,/(.+:)(flex-)?(.*)/,T+"box-pack:$3"+N+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+T+e+e;case 4200:if(!q(e,/flex-|baseline/))return N+"grid-column-align"+Z(e,t)+e;break;case 2592:case 3360:return N+V(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(e,r){return t=r,q(e.props,/grid-\w+-end/)})?~U(e+(r=r[t].value),"span",0)?e:N+V(e,"-start","")+e+N+"grid-row-span:"+(~U(r,"span",0)?q(r,/\d+/):+q(r,/\d+/)-+q(e,/\d+/))+";":N+V(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(e){return q(e.props,/grid-\w+-start/)})?e:N+V(V(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return V(e,/(.+)-inline(.+)/,T+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(K(e)-1-t>6)switch(J(e,t+1)){case 109:if(45!==J(e,t+4))break;case 102:return V(e,/(.+:)(.+)-([^]+)/,"$1"+T+"$2-$3$1"+j+(108==J(e,t+3)?"$3":"$2-$3"))+e;case 115:return~U(e,"stretch",0)?Ae(V(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return V(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,r,n,o,s,a,i){return N+r+":"+n+i+(o?N+r+"-span:"+(s?a:+a-+n)+i:"")+e});case 4949:if(121===J(e,t+6))return V(e,":",":"+T)+e;break;case 6444:switch(J(e,45===J(e,14)?18:11)){case 120:return V(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+T+(45===J(e,14)?"inline-":"")+"box$3$1"+T+"$2$3$1"+N+"$2box$3")+e;case 100:return V(e,":",":"+N)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return V(e,"scroll-","scroll-snap-")+e}return e}function _e(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Ee(e,t,r,n){switch(e.type){case B:if(e.children.length)break;case G:case z:return e.return=e.return||e.value;case D:return"";case M:return e.return=e.value+"{"+_e(e.children,n)+"}";case F:if(!K(e.value=e.props.join(",")))return""}return K(r=_e(e.children,n))?e.return=e.value+"{"+r+"}":""}function $e(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case z:return void(e.return=Ae(e.value,e.length,r));case M:return _e([ce(e,{value:V(e.value,"@","@"+T)})],n);case F:if(e.length)return function(e,t){return e.map(t).join("")}(r=e.props,function(t){switch(q(t,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ue(ce(e,{props:[V(t,/:(read-\w+)/,":"+j+"$1")]})),ue(ce(e,{props:[t]})),Y(e,{props:ee(r,n)});break;case"::placeholder":ue(ce(e,{props:[V(t,/:(plac\w+)/,":"+T+"input-$1")]})),ue(ce(e,{props:[V(t,/:(plac\w+)/,":"+j+"$1")]})),ue(ce(e,{props:[V(t,/:(plac\w+)/,N+"input-$1")]})),ue(ce(e,{props:[t]})),Y(e,{props:ee(r,n)})}return""})}}var ke=5381,Re=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Oe=function(e){return Re(ke,e)},Ne=/&/g,je=/^\s*\/\/.*$/gm;function Te(e,t){return e.map(function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return"".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Te(e.children,t)),e})}function De(e){var t,r,n,o=void 0===e?p:e,s=o.options,a=void 0===s?p:s,i=o.plugins,c=void 0===i?f:i,u=function(e,n,o){return o.startsWith(r)&&o.endsWith(r)&&o.replaceAll(r,"").length>0?".".concat(t):e},l=c.slice();l.push(function(e){e.type===F&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Ne,r).replace(n,u))}),a.prefix&&l.push($e),l.push(Ee);var h=function(e,o,s,i){void 0===o&&(o=""),void 0===s&&(s=""),void 0===i&&(i="&"),t=i,r=o,n=new RegExp("\\".concat(r,"\\b"),"g");var c=e.replace(je,""),u=we(s||o?"".concat(s," ").concat(o," { ").concat(c," }"):c);a.namespace&&(u=Te(u,a.namespace));var f=[];return _e(u,function(e){var t=Q(e);return function(r,n,o,s){for(var a="",i=0;i<t;i++)a+=e[i](r,n,o,s)||"";return a}}(l.concat(function(e){e.root||(e=e.return)&&f.push(e)}))),f};return h.hash=c.length?c.reduce(function(e,t){return t.name||d(15),Re(e,t.name)},ke).toString():"",h}var Fe=new O,ze=De(),Ge=e.createContext({shouldForwardProp:void 0,styleSheet:Fe,stylis:ze}),Me=Ge.Consumer,Be=e.createContext(void 0);function Le(){return e.useContext(Ge)}function We(t){var r=e.useState(t.stylisPlugins),n=r[0],o=r[1],s=Le().styleSheet,a=e.useMemo(function(){var e=s;return t.sheet?e=t.sheet:t.target&&(e=e.reconstructWithOptions({target:t.target},!1)),t.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e},[t.disableCSSOMInjection,t.sheet,t.target,s]),i=e.useMemo(function(){return De({options:{namespace:t.namespace,prefix:t.enableVendorPrefixes},plugins:n})},[t.enableVendorPrefixes,t.namespace,n]);e.useEffect(function(){(function(e,t,r,n){var o=void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var s=Object.keys(e),a=Object.keys(t);if(s.length!==a.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),c=0;c<s.length;c++){var u=s[c];if(!i(u))return!1;if(!1===(o=void 0)||void 0===o&&e[u]!==t[u])return!1}return!0})(n,t.stylisPlugins)||o(t.stylisPlugins)},[t.stylisPlugins]);var c=e.useMemo(function(){return{shouldForwardProp:t.shouldForwardProp,styleSheet:a,stylis:i}},[t.shouldForwardProp,a,i]);return e.createElement(Ge.Provider,{value:c},e.createElement(Be.Provider,{value:i},t.children))}var Ye=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=ze);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,h(this,function(){throw d(12,String(r.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),He={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function qe(e){return e.displayName||e.name||"Component"}var Ve=function(e){return e>="A"&&e<="Z"};function Ue(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(1===r&&"-"===n&&"-"===e[0])return e;Ve(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}function Je(e){return"function"==typeof e}function Ze(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Ke(e){return"object"==typeof e&&"styledComponentId"in e}var Qe=function(e){return null==e||!1===e||""===e},Xe=function(e){var t,r,n=[];for(var o in e){var s=e[o];e.hasOwnProperty(o)&&!Qe(s)&&(Array.isArray(s)&&s.isCss||Je(s)?n.push("".concat(Ue(o),":"),s,";"):Ze(s)?n.push.apply(n,l(l(["".concat(o," {")],Xe(s),!1),["}"],!1)):n.push("".concat(Ue(o),": ").concat((t=o,null==(r=s)||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||t in He||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function et(e,t,r,n){return Qe(e)?[]:Ke(e)?[".".concat(e.styledComponentId)]:Je(e)?!Je(o=e)||o.prototype&&o.prototype.isReactComponent||!t?[e]:et(e(t),t,r,n):e instanceof Ye?r?(e.inject(r,n),[e.getName(n)]):[e]:Ze(e)?Xe(e):Array.isArray(e)?Array.prototype.concat.apply(f,e.map(function(e){return et(e,t,r,n)})):[e.toString()];var o}function tt(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(Je(r)&&!Ke(r))return!1}return!0}function rt(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function nt(e,t){if(0===e.length)return"";for(var r=e[0],n=1;n<e.length;n++)r+=t?t+e[n]:e[n];return r}var ot=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=tt(e),O.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,r,n){var o=n(nt(et(this.rules,t,r,n)),""),s=this.componentId+e;r.insertRules(s,s,o)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,r,n){e>2&&O.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}(),st=e.createContext(void 0),at=st.Consumer;function it(e,t,r){return void 0===r&&(r=p),e.theme!==r.theme&&e.theme||t||r.theme}var ct=/(a)(d)/gi,ut=52,lt=function(e){return String.fromCharCode(e+(e>25?39:97))};function ft(e){var t,r="";for(t=Math.abs(e);t>ut;t=t/ut|0)r=lt(t%ut)+r;return(lt(t%ut)+r).replace(ct,"$1-$2")}function pt(e){return ft(Oe(e)>>>0)}function ht(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r}var dt,mt=function(e){return Object.assign(e,{isCss:!0})};function vt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(Je(e)||Ze(e))return mt(et(ht(f,l([e],t,!0))));var n=e;return 0===t.length&&1===n.length&&"string"==typeof n[0]?et(n):mt(et(ht(n,t)))}var gt="function"==typeof Symbol&&Symbol.for,yt=gt?Symbol.for("react.memo"):60115,St=gt?Symbol.for("react.forward_ref"):60112,bt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},wt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ct={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},It=((dt={})[St]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},dt[yt]=Ct,dt);function Pt(e){return("type"in(t=e)&&t.type.$$typeof)===yt?Ct:"$$typeof"in e?It[e.$$typeof]:bt;var t}var xt=Object.defineProperty,At=Object.getOwnPropertyNames,_t=Object.getOwnPropertySymbols,Et=Object.getOwnPropertyDescriptor,$t=Object.getPrototypeOf,kt=Object.prototype;function Rt(e,t,r){if("string"!=typeof t){if(kt){var n=$t(t);n&&n!==kt&&Rt(e,n,r)}var o=At(t);_t&&(o=o.concat(_t(t)));for(var s=Pt(e),a=Pt(t),i=0;i<o.length;++i){var c=o[i];if(!(c in wt||r&&r[c]||a&&c in a||s&&c in s)){var u=Et(t,c);try{xt(e,c,u)}catch(e){}}}}return e}var Ot=function(){function r(){var r=this;this._emitSheetCSS=function(){var e=r.instance.toString(),s=x(),a=nt([s&&'nonce="'.concat(s,'"'),"".concat(t,'="true"'),"".concat(n,'="').concat(o,'"')].filter(Boolean)," ");return"<style ".concat(a,">").concat(e,"</style>")},this.getStyleTags=function(){if(r.sealed)throw d(2);return r._emitSheetCSS()},this.getStyleElement=function(){var s;if(r.sealed)throw d(2);var a=((s={})[t]="",s[n]=o,s.dangerouslySetInnerHTML={__html:r.instance.toString()},s),i=x();return i&&(a.nonce=i),[e.createElement("style",u({},a,{key:"sc-0-0"}))]},this.seal=function(){r.sealed=!0},this.instance=new O({isServer:!0}),this.sealed=!1}return r.prototype.collectStyles=function(t){if(this.sealed)throw d(2);return e.createElement(We,{sheet:this.instance},t)},r.prototype.interleaveWithNodeStream=function(e){throw d(3)},r}(),Nt=/*#__PURE__*/Object.freeze({__proto__:null,ServerStyleSheet:Ot,StyleSheetConsumer:Me,StyleSheetContext:Ge,StyleSheetManager:We,ThemeConsumer:at,ThemeContext:st,ThemeProvider:function(t){var r=e.useContext(st),n=e.useMemo(function(){return function(e,t){if(!e)throw d(14);if(Je(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw d(8);return t?u(u({},t),e):e}(t.theme,r)},[t.theme,r]);return t.children?e.createElement(st.Provider,{value:n},t.children):null},__PRIVATE__:{StyleSheet:O,mainSheet:Fe},createGlobalStyle:function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var o=vt.apply(void 0,l([t],r,!1)),s="sc-global-".concat(pt(JSON.stringify(o))),a=new ot(o,s),i=function(t){var r=Le(),n=e.useContext(st),o=e.useRef(r.styleSheet.allocateGSInstance(s)).current;return r.styleSheet.server&&f(o,t,r.styleSheet,n,r.stylis),e.useLayoutEffect(function(){if(!r.styleSheet.server)return f(o,t,r.styleSheet,n,r.stylis),function(){return a.removeStyles(o,r.styleSheet)}},[o,t,r.styleSheet,n,r.stylis]),null};function f(e,t,r,n,o){if(a.isStatic)a.renderStyles(e,c,r,o);else{var s=u(u({},t),{theme:it(t,n,i.defaultProps)});a.renderStyles(e,s,r,o)}}return e.memo(i)},css:vt,isStyledComponent:Ke,keyframes:function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=nt(vt.apply(void 0,l([e],t,!1))),o=pt(n);return new Ye(o,n)},useTheme:function(){var t=e.useContext(st);if(!t)throw d(18);return t},version:o,withTheme:function(t){var r=e.forwardRef(function(r,n){var o=it(r,e.useContext(st),t.defaultProps);return e.createElement(t,u({},r,{theme:o,ref:n}))});return r.displayName="WithTheme(".concat(qe(t),")"),Rt(r,t)}}),jt=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Tt=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Dt=/(^-|-$)/g;function Ft(e){return e.replace(Tt,"-").replace(Dt,"")}function zt(e){return"string"==typeof e&&!0}function Gt(e,t,r){if(void 0===r&&(r=!1),!r&&!Ze(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=Gt(e[n],t[n]);else if(Ze(t))for(var n in t)e[n]=Gt(e[n],t[n]);return e}var Mt=Oe(o),Bt=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&tt(e),this.componentId=t,this.baseHash=Re(Mt,t),this.baseStyle=r,O.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))n=rt(n,this.staticRulesId);else{var o=nt(et(this.rules,e,t,r)),s=ft(Re(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,s)){var a=r(o,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,a)}n=rt(n,s),this.staticRulesId=s}else{for(var i=Re(this.baseHash,r.hash),c="",u=0;u<this.rules.length;u++){var l=this.rules[u];if("string"==typeof l)c+=l;else if(l){var f=nt(et(l,e,t,r));i=Re(i,f+u),c+=f}}if(c){var p=ft(i>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,r(c,".".concat(p),void 0,this.componentId)),n=rt(n,p)}}return n},e}(),Lt={};function Wt(t,r,n){var s=Ke(t),a=t,i=!zt(t),c=r.attrs,l=void 0===c?f:c,d=r.componentId,m=void 0===d?function(e,t){var r="string"!=typeof e?"sc":Ft(e);Lt[r]=(Lt[r]||0)+1;var n="".concat(r,"-").concat(pt(o+r+Lt[r]));return t?"".concat(t,"-").concat(n):n}(r.displayName,r.parentComponentId):d,v=r.displayName,g=void 0===v?function(e){return zt(e)?"styled.".concat(e):"Styled(".concat(qe(e),")")}(t):v,y=r.displayName&&r.componentId?"".concat(Ft(r.displayName),"-").concat(r.componentId):r.componentId||m,S=s&&a.attrs?a.attrs.concat(l).filter(Boolean):l,b=r.shouldForwardProp;if(s&&a.shouldForwardProp){var w=a.shouldForwardProp;if(r.shouldForwardProp){var C=r.shouldForwardProp;b=function(e,t){return w(e,t)&&C(e,t)}}else b=w}var I=new Bt(n,y,s?a.componentStyle:void 0);function P(t,r){return function(t,r,n){var o=t.attrs,s=t.componentStyle,a=t.defaultProps,i=t.foldedComponentIds,c=t.styledComponentId,l=t.target,f=e.useContext(st),h=Le(),d=t.shouldForwardProp||h.shouldForwardProp,m=it(r,f,a)||p,v=function(e,t,r){for(var n,o=u(u({},t),{className:void 0,theme:r}),s=0;s<e.length;s+=1){var a=Je(n=e[s])?n(o):n;for(var i in a)o[i]="className"===i?rt(o[i],a[i]):"style"===i?u(u({},o[i]),a[i]):a[i]}return t.className&&(o.className=rt(o.className,t.className)),o}(o,r,m),g=v.as||l,y={};for(var S in v)void 0===v[S]||"$"===S[0]||"as"===S||"theme"===S&&v.theme===m||("forwardedAs"===S?y.as=v.forwardedAs:d&&!d(S,g)||(y[S]=v[S]));var b=function(e,t){var r=Le();return e.generateAndInjectStyles(t,r.styleSheet,r.stylis)}(s,v),w=rt(i,c);return b&&(w+=" "+b),v.className&&(w+=" "+v.className),y[zt(g)&&!jt.has(g)?"class":"className"]=w,y.ref=n,e.createElement(g,y)}(x,t,r)}P.displayName=g;var x=e.forwardRef(P);return x.attrs=S,x.componentStyle=I,x.displayName=g,x.shouldForwardProp=b,x.foldedComponentIds=s?rt(a.foldedComponentIds,a.styledComponentId):"",x.styledComponentId=y,x.target=s?a.target:t,Object.defineProperty(x,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=s?function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0,o=t;n<o.length;n++)Gt(e,o[n],!0);return e}({},a.defaultProps,e):e}}),h(x,function(){return".".concat(x.styledComponentId)}),i&&Rt(x,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),x}function Yt(e,t,r){if(void 0===r&&(r=p),!t)throw d(1,t);var n=function(n){for(var o=[],s=1;s<arguments.length;s++)o[s-1]=arguments[s];return e(t,r,vt.apply(void 0,l([n],o,!1)))};return n.attrs=function(n){return Yt(e,t,u(u({},r),{attrs:Array.prototype.concat(r.attrs,n).filter(Boolean)}))},n.withConfig=function(n){return Yt(e,t,u(u({},r),n))},n}new Set;var Ht=function(e){return Yt(Wt,e)},qt=Ht;for(var Vt in jt.forEach(function(e){qt[e]=Ht(e)}),Nt)qt[Vt]=Nt[Vt];return qt});
//# sourceMappingURL=styled-components.min.js.map
